package com.xx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lotey
 * @since 2024-04-21 21:18
 */
@Getter
@Setter
@TableName("t_user_group")
@Schema(name = "UserGroup", description = "")
public class UserGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "群ID")
    private Long groupId;

    @Schema(description = "入群时间")
    private LocalDateTime joinTime;
}
